/*
Domain Class: Report
Author: Kyle Hawkins

*/
package norm.reference

class Report {

	long id
	Date dateCreated
	String session
	int year
	
	static hasMany = [users:User,comparisonGroups:ComparisonGroup]

    static constraints = {
		dateCreated(blank:false)
		session(blank:false, inList:["FA","SP","S1","S2","S3"])
    }
	
	static mapping = {
		table "NORM_report"
	}
}
